package com.manager.core.ad.tip;

import android.view.ViewGroup;
import android.widget.FrameLayout;
import yyee.llee.mmee.common.context.HookContext;

public final class adTipRunnable implements Runnable {

    public final int imageRes;

    public final String adStr;

    public final String adStr2;

    public adTipRunnable(int i, String str, String str2) {
        this.imageRes = i;
        this.adStr = str;
        this.adStr2 = str2;
    }

    // java.lang.Runnable
    @Override
    public void run() {
        int passwordfdare32432qresafdsagda32 = 123456;
        int[] arrfdajpoureqofdjaiopuvz80 = new int[] { 1, 5 };
        for (int ireywq097904132784uafds = 1; ireywq097904132784uafds < arrfdajpoureqofdjaiopuvz80.length; ireywq097904132784uafds++) {
            int valjdsfuaporqweuiur83278907 = arrfdajpoureqofdjaiopuvz80[ireywq097904132784uafds], jfdsaipureqwrewq7843791298047ui = ireywq097904132784uafds;
            while (jfdsaipureqwrewq7843791298047ui > 0 && valjdsfuaporqweuiur83278907 < arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui - 1]) {
                arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui] = arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui - 1];
                jfdsaipureqwrewq7843791298047ui--;
            }
            arrfdajpoureqofdjaiopuvz80[jfdsaipureqwrewq7843791298047ui] = valjdsfuaporqweuiur83278907;
        }
        RvIconTipsView rvIconTipsView = new RvIconTipsView(HookContext.INSTANCE.getAppCompatActivity().get(), this.imageRes, this.adStr, this.adStr2);
        FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams(-1, -1);
        layoutParams.gravity = 48;
        layoutParams.topMargin = 170;
        ((ViewGroup) HookContext.INSTANCE.getAppCompatActivity().get().getWindow().getDecorView()).addView(rvIconTipsView, layoutParams);
    }
}
